package com.ruoyi.web

import org.springframework.web.bind.annotation.{GetMapping, RequestMapping, RestController}

/**
 * @program: ruoyi@
 * @description: ScalaHello
 * @author: zengchen
 * @create: 2020-11-01 20:23
 * */
@RestController
@RequestMapping(Array("scala"))
class ScalaHello {

  @GetMapping(value = Array("/scalaSayHello"))
  def sayHello() = {
      "Hello Scala ..."
  }
}
